package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.InteractPlatformFile;
import cn.topevery.garden.entity.query.InteractPlatformFileQuery;
import cn.topevery.garden.entity.vo.InteractPlatformFileVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 互动平台 附件表
 *
 * @author code-generate
 * @date 2022-02-18
 */
public interface InteractPlatformFileDao extends BaseDao<InteractPlatformFile> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<InteractPlatformFileVO> listPage(InteractPlatformFileQuery query);

    InteractPlatformFile getEntityByColumn(String key, String value);

    List<InteractPlatformFile> getListByMainId(Integer mainId);

    void deleteByMainId(Integer mainId);

    void deleteByMainIds(Integer[] ids);
}
